<div class="LHY-container">
    <div class="LHY-content LHY-w1163">

        <div class="top-banner">
          <img src="./images/hd-top-banner.png" alt="">
        </div>
      
      <div class="LHY-main-col">
        <div class="display display1">
          <ul class="product-list lists-6 clearfloat">
          </ul>
        </div>
          <div class="display display2">
            <div class="display2-1">
                <img src="./images/top-title-1.jpg" alt="XIAOMI, SU MEJOR COMPAÑERO TECNOLÓGICO">
                <ul class="eggs-list product-list lists-55 clearfloat">
                </ul>
                <div class="info-block">
                  <div class="info-block lists-7"></div>   
                </div>
            </div>
          
            <div class="display2-2">
                <img src="./images/top-title-2.jpg" alt="XIAOMI, SU MEJOR COMPAÑERO TECNOLÓGICO">
                <ul class="eggs-list product-list lists-9"></ul>
                <div class="info-block lists-8"></div>
            </div>
        </div>

        <div class="display display3">
        <p class="subtitle-container"><span class="subtitle">OTRAS MARCAS CHINAS CON MAYOR DESCUENTO</span></p>
          <ul class="product-list lists-20 clearfloat"></ul>
        </div>
      </div>
    </div>
  </div>
    
<style type="text/css">
  .top-banner {text-align: center;}
  .LHY-w1163 {width: 1163px;margin: 0px auto;}
  .LHY-container {background: url(./images/hd-bg.jpg) no-repeat fixed;-webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;-ms-background-size: cover;}
  .LHY-main-col {background: #fff;padding: 32px;margin-top: 30px;}
  .product-list li {float: left;margin:0 15px 10px 0;}
  .display1 .product-list li:nth-child(3n + 3) {margin-right: 0;}
  .display1 .product-list img:hover {opacity: 0.7;}
  .display1 .product-list img {width:353px;height:220px;}
  .display2 .eggs-list li { width: 260px; height: 220px; background: url(./images/hd-eggs-bg.jpg)no-repeat top center;}
  .display2 .eggs-list li:nth-child(4), .display2 .eggs-list li:nth-child(7),.display2 .eggs-list li:nth-child(11){margin-right: 0;}
  .display2 .eggs-list li.active,.display2 .display2-2 .eggs-list li.active{background: url(./images/hd-eggs-bgActive.jpg)no-repeat top center;}
  .display2 .display2-2 .eggs-list li {background: url(./images/hd-eggs-bg3.jpg)no-repeat top center;}
  .display2 .product-info.active {display: block;}
  .display2 {position: relative;margin-top: 25px;}
  .display2 .product-info { position: absolute; top: 315px; left: 300px; width: 500px;display: none;}
  .display2 .display2-2 .product-info {text-align: center;top: 295px;}
  .display2 .display2-2 .price-area .big {color: #ff010b;font-size: 40px;}
  .display2-2 .price-area .big span{ float: left; margin-top: 12px;color: #ff010b;}
  .display2 .display2-2 .btn-action {display: inline-block; background: #ff010b; color: #fff; width: 145px; margin-left: 225px;}
  .display2 .info-display .title {font-size: 24px; font-weight: bold; color: #fff; margin: 0px; line-height: 25px;}
  .display2 .display2-2 .info-display .title {font-size: 20px;}
  .display2 .info-display .title-content{ font-size: 18px; color: #fff; line-height: 20px;}
  .display2 .display2-2 .info-display .title-content {font-size: 16px;}
  .display2 .price-area {margin-top: 15px;}
  .display2 .price-area .small{font-size: 18px; color: #fff; margin: 0;text-decoration: line-through;}
  .display2 .display2-2 .price-area .small { margin: 12px 0px 0px 195px;}
  .display2 .price-area .big{ font-size: 48px; font-weight: bold; color: #fff100; line-height: 45px; margin: 0px;}
  .display2 .info-discount{width: 75px; height: 75px; text-align: center; background: #fff; font-size: 30px; font-weight: bold; color: #ff010b; border-radius: 50%; line-height: 75px;}
  .display2 .display2-2 .info-discount {margin: 0px 0px 0px 120px;}
  .display2 .btn-action { display: block; width: 155px; height: 35px; line-height: 35px; text-align: center; background: #fff; border-radius: 20px; font-size: 18px; color: #ff000a; margin-top: 5px;}
  .display2 .display2-2 .eggs-list {position: relative;width: 1100px;height: 910px;}
  .display2 .display2-2 .eggs-list li {float: none;position: absolute;}
  .display2 .display2-2 {margin-top:30px;position: relative;}
  .display3 {margin-top: 25px;}
  .display3 .product-list li { width: 218px; height: 332px; overflow: hidden; margin: 0 -1px -1px 0; position: relative; border: 1px solid #a0a0a0;position: relative;}
  .display3 .ico {position: absolute;top: 0;left:0;}
  .display3 .discount {width: 60px; font-size: 15px; position: absolute; top: 0px; right: 0; word-wrap: break-word; color: #fff; line-height: 14px; background: #FF000A; text-align: center; height: 55px; border-radius: 40px 0 40px 40px; padding-top: 13px; box-sizing: border-box;}
  .display3 .discount .big {font-size: 25px;font-weight: bold;}
  .display3 .product-img {text-align: center;margin-top: 30px;}
  .prouct-info .price {text-align: center;}
  .display3 .prouct-info {padding: 32px 10px 0px 10px;}
  .display3 .subtitle-container {border-bottom: 2px solid #333333; margin-bottom: 5px; width: 1096px;}
  .subtitle-container .subtitle {font-size: 18px; color: #fff; background: #333333; height: 40px; display: block; width: 485px; text-align: center; line-height: 40px;margin: 0px;}
  .price .pre-price {text-decoration: line-through; font-size: 14px;}
  .price .cur-price{font-size: 24px; color: #f66202; font-weight: bold;}
  .display3 .product-img img {width: 210px;height:180px;}
  .hd-eggs-bg {width: 100%;height: 100%;background:url(./images/hd-eggs-bg2.jpg)no-repeat 0px 0px; }
  .display2-2 .hd-eggs-bg {background:url(./images/hd-eggs-bg4.jpg)no-repeat 45px 0; }
  .display3 .buy-layout {position: absolute; top: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); text-align: center; padding-top: 90px;display: none;}
  .display3 .product-list li:hover .buy-layout {display: block;}
  .LHY-box{width: 185px;height: 185px;position: relative;margin: 18px auto;overflow: hidden;display: flex; align-items: center;}
  .LHY-box .productImg img {width:100%;}
  .list{position: absolute;background: #fff;left:0px;}
  .display2 .display2-2 .price-area{float: right; margin-right: 70px;}
  .display2 .display2-2 .info-display {margin-top:13px;}
  .display2 .display2-1 .info-display {text-align: left;}
  /*css3 翻转效果*/
  .LHY-box .productImg, .LHY-box .LHY-slidedown {
    -webkit-transition: all 1s cubic-bezier(0.4, 0.2, 0.2, 1);
    -moz-transition: all 1s cubic-bezier(0.4, 0.2, 0.2, 1);
    -o-transition: all 1s cubic-bezier(0.4, 0.2, 0.2, 1);
    -ms-transition: all 1s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: all 1s cubic-bezier(0.4, 0.2, 0.2, 1);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
  }
  .LHY-box .LHY-slidedown,.LHY-box.hover .productImg{
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
  }
  .LHY-box .productImg, .LHY-box.hover .LHY-slidedown {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    transform: rotateY(180deg);
  }

</style>
    
    
<script type="text/javascript">
  (function($){
  var str2 = `<li>
      <div class="product-img">
      <img src="./images/2016040616.jpg">
      </div>
      <div class="prouct-info">
      <p>Gratis JJRC H9D FPV 6 Achsen RC Quadcopter</p>
      <p class="price"><span class="pre-price">89.99€</span><span class="cur-price">62.99€</span></p>
      </div>
      <img src="./images/hd-product-ico-left.png" class="ico ico-left">
      <p class="discount"><span class="big">30</span>%<br>OFF</p>
      <div class="buy-layout">
      <a href="#"><img src="./images/hd-product-up.png" alt="Comprar ahora"></a>
      </div>
  </li>`;
  var str5 = `<li>
                <div class="LHY-box">
                    <a href="#" class="list productImg"><img src="./images/2016040616.jpg" alt=""/></a>
                    <a href="javascript:void(0);" class="list LHY-slidedown">
                      <img src="./images/hd-eggs-1.jpg" alt="" />
                    </a>
                </div>
              </li>`;
  function createStr1(index){
    return `<div class="product-info">
              <div class="info-display">
                <p class="title">Xiaomi Redmi Note ${index} Pro</p>
                <p class="title-content">2GB 16GB</p>
                <div class="price-area">
                  <p class="big">${index*10}.99€</p>
                </div>
                <a href="#" class="btn-action">Comprar ahora</a>
              </div>
          </div>`;
  }
  function createStr2(index){
    return `<div class="product-info"> 
              <div class="info-display">
                <p class="info-discount">-${index}€</p>
                <p class="title">Cuerda de estiramiento</p>
                <p class="title">Pedal dinámico del pie del látex </p>
                <div class="price-area clearfloat">
                  <p class="small l">${index}.99€</p>
                  <p class="big l">${index}.99€</p>
                </div>
                <a href="#" class="btn-action">Comprar ahora</a>
              </div>
            </div>`;
  }
  function createStr3(top,left){
    return `<li style="top:${top}px; left: ${left}px;">
              <div class="LHY-box">
                  <a href="#" class="list productImg"><img src="./images/2016040616.jpg" alt=""/></a>
                  <a href="javascript:void(0);" class="list LHY-slidedown">
                    <img src="./images/hd-eggs-1.jpg" alt="" />
                  </a>
              </div>
            </li>`;
  }
  
  var str2_20 = '';
  for (var i = 0; i < 20; i++) {
      str2_20 += str2;
  }
  var str3_6 = '';
  for(var i = 0; i < 6; i++){
      str3_6 += `<li><a href="#"><img src="./images/hd-product-6.jpg"></a></li>`;
  }
  var str3_5 = '', str4_5 = '', str5_5 = '', str5_6 = '';
  for(var i= 0; i< 5; i++){
      str3_5 += str5;
      str4_5 += createStr1(i);
      str5_5 += createStr2(i);
      if(i === 4){
        str5_6 += createStr3(225,0);
      }else{
        str5_6 += createStr3(0,275*i);
      }
      
  }
  str3_5 += `<li style="width: 540px;background: none;">
                  <div class="hd-eggs-bg">
                  </div>
                </li>`;
  str4_5 += `<div class="product-info"></div>`;
  str5_5 +=`<div class="product-info"></div>`;
  str5_6 += `<li style="width: 540px;height:450px;background: none; top:225px;left: 275px;">
                  <div class="hd-eggs-bg"></div>
                </li>`;
  for(var i= 0; i< 5; i++){
      str3_5 += str5;
      str4_5 += createStr1(6+i);
  }
  for(var i = 0; i < 7; i++){
    str5_5 += createStr2(i+6);
    if(i === 0){
      str5_6 += createStr3(225,825);
    }else if(i === 1){
      str5_6 += createStr3(450,0);
    }else if(i === 2){
      str5_6 += createStr3(450,825);
    }else{
      str5_6 += createStr3(675,275*(i-3));
    }
  }
  $(".lists-55").append(str3_5);
  $(".lists-20").append(str2_20);
  $(".lists-6").append(str3_6);
  $(".lists-7").append(str4_5);
  $(".lists-8").append(str5_5);
  $(".lists-9").append(str5_6);

    $('.display2 .eggs-list li').hover(function(){
      var num = $(this).index();
        $('.display2 .eggs-list li').removeClass('active');
        $(this).addClass('active');
        $(this).parent('.eggs-list').siblings('.info-block').find('.product-info').removeClass('active').eq(num).addClass('active');
        $(this).find('.LHY-box').addClass("hover");
    });

  })(jQuery);
</script>